
package linuxbox.bbs.logic;

public class BbsMsg {
	private	long m_lMsgID;
	private long m_lTopicID;
	private long m_lParentID;
	private int m_iIndLvl;
    private java.sql.Date m_dtSubDate;
    private java.sql.Time m_tmSubTime;
    private String m_sAuthor;
    private String m_sSubject;
    private String m_sMsgBody;
	private int m_iCategory;
	private String m_sCatName;
	private String m_sIP;
	
	public BbsMsg(long msgID, long topicID, long parentID, int indLvl) {
		m_lMsgID = msgID;
		m_lTopicID = topicID;
		m_lParentID = parentID;
		m_iIndLvl = indLvl;
	}
	
	public long getID() {
		return m_lMsgID;
	}

	public void setID(long id) {
		m_lMsgID = id;
	}

	public long getTopicID() {
		return m_lTopicID;
	}

	public void setTopicID(long topicID) {
		m_lTopicID = topicID;
	}

	public long getParentID() {
		return m_lParentID;
	}
	
	public void setParentID(long parentID) {
		m_lParentID = parentID;
	}
	
	public int getIndLvl() {
		return m_iIndLvl;
	}
	
    public java.sql.Date getSubDate() {
    	return m_dtSubDate;
    }
    
    public void setSubDate(java.sql.Date subDate) {
    	m_dtSubDate = subDate;
    }
    
    public java.sql.Time getSubTime() {
    	return m_tmSubTime;
    }
    
    public void setSubTime(java.sql.Time subTime) {
    	m_tmSubTime = subTime;
    }
    
    public String getAuthor() {
    	return m_sAuthor;
    }
    
    public void setAuthor(String author) {
    	m_sAuthor = author;
    }
    
    public String getSubject() {
    	return m_sSubject;
    }
    
    public void setSubject(String subject) {
    	m_sSubject = subject;
    }
    
    public String getMsgBody() {
    	return m_sMsgBody;
    }
    
	public void setMsgBody(String body) {
		m_sMsgBody = body;
	}
	
	public int getCategory() {
		return m_iCategory;
	}
	
	public void setCategory(int cat) {
		m_iCategory = cat;
	}
	
	public String getCatName() {
		return m_sCatName;
	}	
		
	public void setCatName(String catName) {
		m_sCatName = catName;
	}
	
	public String getIP() {
		return m_sIP;
	}
	
	public void setIP(String ip) {
		m_sIP = ip;
	}	
}